package scfw.dao;

import java.util.List;
import scfw.model.Food;
import scfw.model.UserOrderItems;

public abstract interface FoodMapper
{
    public abstract int deleteByPrimaryKey(Integer id);

    public abstract int insert(Food record);

    public abstract int insertSelective(Food record);

    public abstract Food selectByPrimaryKey(Integer id);

    public abstract int updateByPrimaryKeySelective(Food record);

    public abstract int updateByPrimaryKey(Food record);

    public abstract List<Food> queryFoods(int userId);

    public abstract List<Food> todayOrderItems(int userId);

    public abstract List<UserOrderItems> todayAllOrderItems();

    public abstract List<UserOrderItems> historyAllOrderItems();
}